﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/AfterLogin.master" AutoEventWireup="true" CodeFile="certificate.aspx.cs" Inherits="certificate" %>

<asp:Content ID="leftMenu" ContentPlaceHolderID="leftMenu" Runat="Server">
          <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/fd_statement.aspx")%>">
        E-Statement</a></li>

        <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/certificate.aspx")%>">
         Deposit Certificate</a></li>

         <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/appform.aspx")%>">
         Application Form</a></li>

         <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/user/terminate.aspx")%>">
         Terminate Account</a></li>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="content" Runat="Server">
   
    
   
    <h1>Fixed Deposit Certificate</h1>
    <br />
    <asp:Repeater ID="certificate_Repeater" runat="server">
                <ItemTemplate>
    <fieldset>
    <legend style="background-color:#FF9933;">Fixed Deposit Certificate</legend>
    <table id="Table1">
    
    <tr><td>Certificate No. :</td><td>
        <asp:Label ID="lbCertNo" runat="server" Text='<%# Bind("certNo") %>'></asp:Label>
        </td></tr>
        <tr><td>Depositor:</td><td>
            <asp:Label ID="lbName" runat="server" Text='<%# Eval("fName")+ " " + Eval("lName")%>'></asp:Label>
            </td></tr>
         <tr><td>Account No:</td><td> <asp:Label ID="lbAccNo" runat="server" Text='<%# Bind("accountNo") %>'></asp:Label></td></tr>
       <tr><td>Account Type:</td><td> <asp:Label ID="lbAccType" runat="server" Text='<%# Bind("accountType") %>'></asp:Label></td></tr>
      <tr><td>Deposit amount:</td><td>
          <asp:Label ID="lbAmount" runat="server" Text='<%# Bind("DepositAmount") %>'></asp:Label>
          </td></tr>
     <tr><td class="style1">Tenors:</td><td class="style1"> 
            <asp:Label ID="lbTenors" runat="server" Text='<%# Bind("tenors") %>'></asp:Label></td></tr>
       <tr><td>Effective Date:</td><td>
           <asp:Label ID="lbEffDate" runat="server" Text='<%# Eval("effectiveDate","{0:yyyy/MM/dd}") %>'></asp:Label>
           </td></tr>
        <tr><td class="style1">Maturity Date:</td><td class="style1"> 
            <asp:Label ID="lbMaturDate" runat="server" Text='<%# Eval("maturityDate","{0:yyyy/MM/dd}") %>' ></asp:Label></td></tr>
        <tr><td>Issued By:</td><td><asp:Label ID="lbBank" runat="server">Power Saver </asp:Label></td></tr>
    </table>
    
</fieldset>
</ItemTemplate>
            </asp:Repeater>
    <br />
    <button onclick="window.print();">Print Out</button>
    
    

</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="html_js">
<script type="text/javascript">
    $(document).ready(function () {
        try {
            $("#accordion").accordion();
        } catch (e) {
            console.error(e);
        }

        try {
            $("#tabs").tabs();
        } catch (e) {
            console.error(e);
        }
    });
    </script>
    <style type="text/css">
        .style1
        {
            height: 19px;
        }
    </style>
</asp:Content>


